Skip to main content

Update Business Status Document

PATCH /api/v1/businesses/{businessId}/public/{status}/doc

Description

Update the status of a business document.

Path Parameters

NameTypeDescription
businessIdstringThe ID of the business (path)
statusstringThe status to be updated (path)
  Available values: APPROVE, DISAPPROVE, PENDING

Query Parameters

NameTypeDescription
commentstringAn optional comment (query)

Example

PATCH /api/v1/businesses/{businessId}/public/{status}/doc?comment=Optional%20comment
Content-Type: application/json

{
"businessId": "12345",
"status": "APPROVE"
}

Response Code: 200 - OK

Description

Status updated successfully.

Headers

Content-TypeValue
apiKey{{apiKey}}

Body

{
"businessId": "12345",
"status": "APPROVE"
}

🔑 Authentication bearer

ParamValueType
token{{accessCode}}string

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request PATCH \ 
--url /api/v1/businesses/{businessId}/public/{status}/doc \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!